package com.mls.fivedistrict.dao;

import com.mls.fivedistrict.pojo.WithdrawRecord;
import com.mls.fivedistrict.pojo.WithdrawRecordExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface WithdrawRecordMapper {
    long countByExample(WithdrawRecordExample example);

    int deleteByExample(WithdrawRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WithdrawRecord record);

    int insertSelective(WithdrawRecord record);

    List<WithdrawRecord> selectByExample(WithdrawRecordExample example);

    double selectByExampleSum(WithdrawRecordExample example);

    WithdrawRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WithdrawRecord record, @Param("example") WithdrawRecordExample example);

    int updateByExample(@Param("record") WithdrawRecord record, @Param("example") WithdrawRecordExample example);

    int updateByPrimaryKeySelective(WithdrawRecord record);

    int updateByPrimaryKey(WithdrawRecord record);

    int updateStatus(@Param("params") Map params);
}